export interface TagStatistics {
  count: number;
  resolutionId: string;
}
export interface Goods {
  goodsId: string;
  goodsName: string;
  barCode: any;
  salesUnit: string;
  retailPrice: undefined;
  memberPrice: undefined;
  salePrice: undefined;
  qrcodeUrl: string;
  refreshTimes: string;
  goodsPhoto: string;
  deptId: string;
  createTime: string;
  expands: any[]; // 或具体定义 expends 的结构
  department: string;
  category: string;
  model: string;
  goodsVideo: string;
  tagCount: TagStatistics[];

  /*  */
  shelfLife: string;
  specif: string;
  sku: string;
  stock: number | undefined;
  itemNo: string;
  promotionBegin: string;
  promotionEnd: string;
  productionDate: string;
  warehouse: string;
  freightSpace: string;
  share: "0" | "1";
  grade: string;
  mode: string;
  origin: string;
  disable: boolean;
}

export interface GoodsCategory {
  categoryId: string;
  categoryName: string;
  status?: string;
  deptId?: string;
  createBy?: string;
  createTime?: string;
  updateBy?: string | null;
  updateTime?: string | null;
}

export interface GoodsRecord {
  recordId: string;
  goodsName: string;
  platform: string;
  rawData: string;
  postData: string;
  deptId: string;
  username: string;
}
